package edu.sias.user.mapper;

import edu.sias.user.entity.po.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UserInfoMapper<T, P> extends BaseMapper<T, P> {



    /**
     * 根据Email获取对象
     */
    T selectByEmail(@Param("email") String email);

    UserInfo selectByPhone(String phone);
}